package api.workerswithdb;

import java.sql.Connection;
import java.util.Date;

import api.entitites.IGarage;

public interface IDAOGarage {
	public Boolean insertGarageToDB(IGarage garage);

	public IGarage getGarageFromDb(Integer number_garage);

	public Integer getEmptyGarage();

	public String getEmptyPlacesOnDate(Date date);

	public Integer getIdGarage(Integer number_garage);

	public Boolean deleteGarage(Integer number_garage);

	void updateGarage(Connection connection,Boolean fullnessGarage, Integer idGarage);
}
